package com.arrogames.rgblabyrinth.game.ui {
	
	import com.arrogames.rgblabyrinth.AssetManager;
	import com.arrogames.rgblabyrinth.game.graphics.Rectangle;
	
	import starling.display.Image;
	import starling.display.Sprite;
	import starling.textures.Texture;
	
	public class ExplanationView extends Sprite {
		
		private static const WIDTH:int = 800;
		private static const HEIGHT:int = 200;
		
		public function ExplanationView() {
			super();
			
			var texture:Texture = AssetManager.instance.getTexture("tutorial");
			var image:Image = new Image(texture);
			image.x = (WIDTH /2) - (image.width/2);
			image.y = (HEIGHT/2) - (image.height/2);
			addChild(image);
			
			addChild(new Rectangle(0x000000, WIDTH, HEIGHT));
			
		}
	}
}